<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="root"></div>
    <script>
        let xhr = new XMLHttpRequest();
        xhr.onreadystatechange = ()=>{
            let root = document.getElementById('root');
            root.innerHTML += xhr.responseText;
        };
        xhr.open("GET", "http://hanayabuki.gitee.io/json-static-database/src/data.json");
    </script>
</body>
</html>